Quaqua 3.9.5 2007-10-21

ch.randelshofer.quaqua.panther
Class Quaqua13PantherLookAndFeel

java.lang.Object
  extended by javax.swing.LookAndFeel
      extended by javax.swing.plaf.basic.BasicLookAndFeel
          extended by ch.randelshofer.quaqua.LookAndFeelProxy
              extended by ch.randelshofer.quaqua.BasicQuaquaLookAndFeel
                  extended by ch.randelshofer.quaqua.panther.Quaqua13PantherLookAndFeel
All Implemented Interfaces:
java.io.Serializable

public class Quaqua13PantherLookAndFeel
extends BasicQuaquaLookAndFeel

The Quaqua13PantherLookAndFeel is an extension for Apple's Mac Look and Feel for Java 1.3 on Mac OS X 10.3 and later (Panther).

The Quaqua Look and Feel can not be used on other platforms than Mac OS X.

Usage

Please use the QuaquaManager to activate this look and feel in your application. Or use the generic QuaquaLookAndFeel. Both are designed to autodetect the appropriate Quaqua Look and Feel implementation

Version:
3.3.1 2006-10-25 Fixed TabbedPaneUI class name.
3.3 2005-12-10 QuaquaSplitPaneUI added.
3.2 2005-09-25 QuaquaScrollBarUI and QuaquaOptionPaneUI added. Invocation of deriveColors() removed.
3.1 2005-08-25 QuaquaBrowserUI added.
3.0.3 2005-06-20 ProxyLazyValue does not work with QuaquaMenuBorder.
3.0.2 2005-05-29 Fixes for Quaqua 3.0 beta 4.
3.0.1 2005-04-26 Filling using testured Paint objects is extremely slow with Java 1.3. Thus we do not fill desktop panes and tabbed panes with a pattern of our own, and use the colors of Apple's Look and Feel instead.
3.0 2005-04-05 Reworked.
2.3 2005-03-02 Added missing key binding for TAB key in multiline text fields. Changed borders of PasswordTextField and FormattedTextField.
2.2 2004-12-28 Changed icon of radio button menu items to be round instead of diamond shaped. Changed icon of check box menu items with a more Panther like tick symbol.
2.1 2004-12-22 Enhancements for ListUI, TreeUI and TableUI.
2.0.2 2004-10-26 Fixed texts returned by methods getDescription() and getName().
2.0.1 2004-09-12 Catch AccessControlException when accessing System properties. Replaced all method invocations to method System.getProperty to QuaquaManager.getProperty. Changed table focus cell colors. Changed tree selection colors.
2.0 2004-06-25 Reworked.
1.2.3 2004-05-02 Added component defaults for BrowserUI.
1.2.2 2004-02-06 FileChooser.homeFolderIcon and FileView.computerIcon added.
1.2.1 2003-11-01 Browser.expandedIcon and Browser.expandingIcon added.
1.2 2003-10-04 JFileChooser with column view added.
1.0 2003-07-20 Created.
Author:
Werner Randelshofer, Staldenmattweg 2, CH-6405 Immensee, Switzerland
See Also:
QuaquaManager, QuaquaLookAndFeel, Serialized Form

Field Summary
 
Fields inherited from class ch.randelshofer.quaqua.BasicQuaquaLookAndFeel
commonDir, jaguarDir, pantherDir, tigerDir
 
Fields inherited from class ch.randelshofer.quaqua.LookAndFeelProxy
target
 
Constructor Summary
Quaqua13PantherLookAndFeel()
          Creates a new instance.
 
Method Summary
 java.lang.String getDescription()
          Return a one line description of this look and feel implementation, e.g.
 java.lang.String getID()
          Return a string that identifies this look and feel.
 java.lang.String getName()
          Return a short string that identifies this look and feel, e.g.
protected  void initClassDefaults(javax.swing.UIDefaults table)
          Initialize the uiClassID to BasicComponentUI mapping.
protected  void initDesignDefaults(javax.swing.UIDefaults table)
          Init design specific look and feel defaults.
protected  void initSystemColorDefaults(javax.swing.UIDefaults table)
          Load the SystemColors into the defaults table.
 
Methods inherited from class ch.randelshofer.quaqua.BasicQuaquaLookAndFeel
getDefaults, getSupportsWindowDecorations, getSystemFontName, initColorDefaults, initComponentDefaults, initFontDefaults, initGeneralDefaults, initInputMapDefaults, initResourceBundle, installKeyboardFocusManager, isJaguarTabbedPane, makeBufferedImage, makeButtonStateIcon, makeButtonStateIcon, makeButtonStateIcon, makeFrameButtonStateIcon, makeIcon, makeIcon, makeIcon, makeIcons, makeImage, makeImageBevelBackgroundBorder, makeImageBevelBorder, makeImageBevelBorder, makeImageBevelBorder, makeImageBevelBorders, makeOverlaidButtonStateIcon, makeSliderThumbIcon, makeTextureColor
 
Methods inherited from class ch.randelshofer.quaqua.LookAndFeelProxy
initialize, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, setTarget, toString, uninitialize
 
Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel
createAudioAction, getAudioActionMap, loadSystemColors, playSound
 
Methods inherited from class javax.swing.LookAndFeel
getDesktopPropertyValue, getDisabledIcon, getDisabledSelectedIcon, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, uninstallBorder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Quaqua13PantherLookAndFeel

public Quaqua13PantherLookAndFeel()
Creates a new instance.

Method Detail

getDescription

public java.lang.String getDescription()
Return a one line description of this look and feel implementation, e.g. "The CDE/Motif Look and Feel". This string is intended for the user, e.g. in the title of a window or in a ToolTip message.

Overrides:
getDescription in class LookAndFeelProxy

getID

public java.lang.String getID()
Return a string that identifies this look and feel. This string will be used by applications/services that want to recognize well known look and feel implementations. Presently the well known names are "Motif", "Windows", "Mac", "Metal". Note that a LookAndFeel derived from a well known superclass that doesn't make any fundamental changes to the look or feel shouldn't override this method.

Overrides:
getID in class BasicQuaquaLookAndFeel

getName

public java.lang.String getName()
Return a short string that identifies this look and feel, e.g. "CDE/Motif". This string should be appropriate for a menu item. Distinct look and feels should have different names, e.g. a subclass of MotifLookAndFeel that changes the way a few components are rendered should be called "CDE/Motif My Way"; something that would be useful to a user trying to select a L&F from a list of names.

Overrides:
getName in class LookAndFeelProxy

initClassDefaults

protected void initClassDefaults(javax.swing.UIDefaults table)
Initialize the uiClassID to BasicComponentUI mapping. The JComponent classes define their own uiClassID constants (see AbstractComponent.getUIClassID). This table must map those constants to a BasicComponentUI class of the appropriate type.

Overrides:
initClassDefaults in class javax.swing.plaf.basic.BasicLookAndFeel
See Also:
BasicQuaquaLookAndFeel.getDefaults()

initSystemColorDefaults

protected void initSystemColorDefaults(javax.swing.UIDefaults table)
Description copied from class: BasicQuaquaLookAndFeel
Load the SystemColors into the defaults table. The keys for SystemColor defaults are the same as the names of the public fields in SystemColor. If the table is being created on a native Windows platform we use the SystemColor values, otherwise we create color objects whose values match the defaults Windows95 colors.

Overrides:
initSystemColorDefaults in class BasicQuaquaLookAndFeel

initDesignDefaults

protected void initDesignDefaults(javax.swing.UIDefaults table)
Description copied from class: BasicQuaquaLookAndFeel
Init design specific look and feel defaults.

Overrides:
initDesignDefaults in class BasicQuaquaLookAndFeel

Copyright 2003-2007 (c) Werner Randelshofer.
All rights reserved.